home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / misc / allma.zip / WHT-PROF.SMM < prev    next >
INI File  |  1994-12-01  |  10KB  |  900 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     HP LaserJet IIISi PostScript
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [fldnames]
  18.     Field1
  19.     Field2
  20.     Field3
  21.     Field4
  22.     Field5
  23.     Field6
  24.     Field7
  25.     Field8
  26. [desc]
  27.     Calls up Proofing icons
  28.     
  29.     
  30.     
  31.     
  32.     786354781
  33.     33
  34.     757997507
  35.     145
  36.     4
  37.     0
  38.     0
  39.     0
  40.     0
  41.     
  42.     
  43.     
  44.     
  45.     
  46.     
  47.     1
  48. [fopts]
  49.     0
  50.     1
  51.     0
  52.     0
  53.     
  54.     
  55. [lnopts]
  56.     2
  57.     Body Text
  58.     1
  59. [docopts]
  60.     5
  61.     2
  62. [GramStyle]
  63.     
  64. [tag]
  65.     Defines
  66.     2
  67.     [fnt]
  68.         Times New Roman
  69.         200
  70.         0
  71.         49152
  72.     [algn]
  73.         1
  74.         1
  75.         0
  76.         0
  77.         0
  78.     [spc]
  79.         33
  80.         273
  81.         1
  82.         0
  83.         0
  84.         1
  85.         100
  86.     [brk]
  87.         4
  88.     [line]
  89.         8
  90.         0
  91.         1
  92.         0
  93.         1
  94.         1
  95.         1
  96.         10
  97.         10
  98.         1
  99.     [spec]
  100.         0
  101.         0
  102.         
  103.         0
  104.         1
  105.         1
  106.         0
  107.         0
  108.         0
  109.         0
  110.     [nfmt]
  111.         280
  112.         1
  113.         2
  114.         .
  115.         ,
  116.         $
  117.     Body Text
  118.     0
  119.     0
  120. [tag]
  121.     Function
  122.     3
  123.     [fnt]
  124.         Times New Roman
  125.         240
  126.         0
  127.         49153
  128.     [algn]
  129.         1
  130.         1
  131.         0
  132.         0
  133.         0
  134.     [spc]
  135.         33
  136.         273
  137.         1
  138.         0
  139.         0
  140.         1
  141.         100
  142.     [brk]
  143.         68
  144.     [line]
  145.         8
  146.         0
  147.         1
  148.         0
  149.         1
  150.         1
  151.         1
  152.         10
  153.         10
  154.         1
  155.     [spec]
  156.         0
  157.         0
  158.         
  159.         0
  160.         1
  161.         1
  162.         0
  163.         0
  164.         0
  165.         0
  166.     [nfmt]
  167.         280
  168.         1
  169.         2
  170.         .
  171.         ,
  172.         $
  173.     Body Text
  174.     0
  175.     0
  176. [tag]
  177.     If Endif
  178.     4
  179.     [fnt]
  180.         Times New Roman
  181.         240
  182.         16711680
  183.         49153
  184.     [algn]
  185.         1
  186.         1
  187.         0
  188.         0
  189.         0
  190.     [spc]
  191.         33
  192.         273
  193.         1
  194.         0
  195.         0
  196.         1
  197.         100
  198.     [brk]
  199.         68
  200.     [line]
  201.         8
  202.         0
  203.         1
  204.         0
  205.         1
  206.         1
  207.         1
  208.         10
  209.         10
  210.         1
  211.     [spec]
  212.         0
  213.         0
  214.         
  215.         0
  216.         1
  217.         1
  218.         0
  219.         0
  220.         0
  221.         0
  222.     [nfmt]
  223.         280
  224.         1
  225.         2
  226.         .
  227.         ,
  228.         $
  229.     Body Text
  230.     0
  231.     0
  232. [tag]
  233.     For Next
  234.     5
  235.     [fnt]
  236.         Times New Roman
  237.         240
  238.         33024
  239.         49153
  240.     [algn]
  241.         1
  242.         1
  243.         0
  244.         0
  245.         0
  246.     [spc]
  247.         33
  248.         273
  249.         1
  250.         0
  251.         0
  252.         1
  253.         100
  254.     [brk]
  255.         68
  256.     [line]
  257.         8
  258.         0
  259.         1
  260.         0
  261.         1
  262.         1
  263.         1
  264.         10
  265.         10
  266.         1
  267.     [spec]
  268.         0
  269.         0
  270.         
  271.         0
  272.         1
  273.         1
  274.         0
  275.         0
  276.         0
  277.         0
  278.     [nfmt]
  279.         280
  280.         1
  281.         2
  282.         .
  283.         ,
  284.         $
  285.     Body Text
  286.     0
  287.     0
  288. [tag]
  289.     While Wend
  290.     6
  291.     [fnt]
  292.         Times New Roman
  293.         240
  294.         16711809
  295.         49153
  296.     [algn]
  297.         1
  298.         1
  299.         0
  300.         0
  301.         0
  302.     [spc]
  303.         33
  304.         273
  305.         1
  306.         0
  307.         0
  308.         1
  309.         100
  310.     [brk]
  311.         68
  312.     [line]
  313.         8
  314.         0
  315.         1
  316.         0
  317.         1
  318.         1
  319.         1
  320.         10
  321.         10
  322.         1
  323.     [spec]
  324.         0
  325.         0
  326.         
  327.         0
  328.         1
  329.         1
  330.         0
  331.         0
  332.         0
  333.         0
  334.     [nfmt]
  335.         280
  336.         1
  337.         2
  338.         .
  339.         ,
  340.         $
  341.     Body Text
  342.     0
  343.     0
  344. [tag]
  345.     Label
  346.     7
  347.     [fnt]
  348.         Times New Roman
  349.         240
  350.         255
  351.         49153
  352.     [algn]
  353.         1
  354.         1
  355.         0
  356.         0
  357.         0
  358.     [spc]
  359.         33
  360.         273
  361.         1
  362.         0
  363.         0
  364.         1
  365.         100
  366.     [brk]
  367.         4
  368.     [line]
  369.         8
  370.         0
  371.         1
  372.         0
  373.         1
  374.         1
  375.         1
  376.         10
  377.         10
  378.         1
  379.     [spec]
  380.         0
  381.         0
  382.         
  383.         0
  384.         1
  385.         1
  386.         0
  387.         0
  388.         0
  389.         0
  390.     [nfmt]
  391.         280
  392.         1
  393.         2
  394.         .
  395.         ,
  396.         $
  397.     Body Text
  398.     0
  399.     0
  400. [tag]
  401.     Body Text
  402.     8
  403.     [fnt]
  404.         Times New Roman
  405.         240
  406.         0
  407.         49152
  408.     [algn]
  409.         1
  410.         1
  411.         0
  412.         0
  413.         0
  414.     [spc]
  415.         33
  416.         273
  417.         1
  418.         0
  419.         0
  420.         1
  421.         100
  422.     [brk]
  423.         4
  424.     [line]
  425.         8
  426.         0
  427.         1
  428.         0
  429.         1
  430.         1
  431.         1
  432.         10
  433.         10
  434.         1
  435.     [spec]
  436.         0
  437.         0
  438.         
  439.         0
  440.         1
  441.         1
  442.         0
  443.         0
  444.         0
  445.         0
  446.     [nfmt]
  447.         280
  448.         1
  449.         2
  450.         .
  451.         ,
  452.         $
  453.     Body Text
  454.     0
  455.     0
  456. [lay]
  457.     Standard
  458.     769
  459.     [rght]
  460.         12240
  461.         15840
  462.         1
  463.         1440
  464.         1440
  465.         1
  466.         1440
  467.         1440
  468.         0
  469.         1
  470.         0
  471.         1
  472.         0
  473.         2
  474.         1
  475.         1440
  476.         14400
  477.         12
  478.         1
  479.         720
  480.         1
  481.         1440
  482.         1
  483.         2160
  484.         1
  485.         2880
  486.         0
  487.         0
  488.         0
  489.         0
  490.         0
  491.         0
  492.         0
  493.         0
  494.         0
  495.         0
  496.         0
  497.         0
  498.         0
  499.         0
  500.         0
  501.         0
  502.     [hrght]
  503.     [lyfrm]
  504.         1
  505.         11200
  506.         0
  507.         0
  508.         15840
  509.         1440
  510.         0
  511.         1
  512.         3
  513.         1 0 0 0 0 0 0
  514.         0
  515.         0
  516.         1
  517.     [frmlay]
  518.         1440
  519.         15840
  520.         1
  521.         1440
  522.         72
  523.         1
  524.         792
  525.         1440
  526.         0
  527.         1
  528.         0
  529.         1
  530.         1
  531.         0
  532.         1
  533.         1440
  534.         14400
  535.         2
  536.         2
  537.         4680
  538.         3
  539.         9360
  540.     [txt]
  541. ashley bass
  542.  
  543. >
  544.     [frght]
  545.     [lyfrm]
  546.         1
  547.         13248
  548.         0
  549.         10800
  550.         15840
  551.         12240
  552.         0
  553.         1
  554.         3
  555.         1 0 0 0 0 0 0
  556.         0
  557.         0
  558.         2
  559.     [frmlay]
  560.         12240
  561.         15840
  562.         1
  563.         1440
  564.         792
  565.         1
  566.         10872
  567.         1440
  568.         0
  569.         1
  570.         0
  571.         1
  572.         1
  573.         0
  574.         1
  575.         1440
  576.         14400
  577.         2
  578.         2
  579.         4680
  580.         3
  581.         9360
  582.     [txt]
  583. >
  584. [elay]
  585. [l1]
  586.     0
  587. [pg]
  588.     4
  589.     33 0 12 0 1 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  590.     47 43 2 288 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  591.     67 0 12 256 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  592.     75 0 0 1281 1 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  593. [edoc]
  594. @Defines@<:#236,12960>Define    MoveWindow()    DllCall("User,MoveWindow,HHHHHHA",%1,%2,%3,%4,%5,%6)
  595.  
  596. @Defines@<:#236,12960>Define    GetSize()        DllCall("user,GetWindowRect,HHN",%1,%2)
  597.  
  598. @Function@<:#284,12960><-!>
  599.  
  600. @Function@<:#284,12960>function begin(hdlg)
  601.  
  602. <:#284,12960>thisfile = getrunningmacrofile$()
  603.  
  604. <:#284,12960>metrics = getprofilestring$("wht-prof", "Metrics", "{windir}amipro2.ini")
  605.  
  606. @If Endif@<:#284,12960>    if metrics != ""
  607.  
  608. <:#284,12960>        setdlgcallback(0, "{thisfile}!init")
  609.  
  610. @If Endif@<:#284,12960>    endif
  611.  
  612. <:#284,12960>setdlgcallback(20, "{thisfile}!curloc")
  613.  
  614. @If Endif@<:#284,12960>DlgKeyInterrupt(<[>F1], "HelpFun")  ' This if F1
  615.  
  616. <:#284,12960>Box = DialogBox(".", "Proofing")
  617.  
  618. <:#284,12960>IF Box = -1
  619.  
  620. <:#284,12960>Message("Could not open dialog box; Exiting macro.")
  621.  
  622. <:#284,12960>EXIT FUNCTION
  623.  
  624. <:#284,12960>ELSEIF Box = 0
  625.  
  626. <:#284,12960>EXIT FUNCTION
  627.  
  628. <:#284,12960>ELSEIF Box = 7
  629.  
  630. <:#284,12960>IgnoreKeyboard(1)
  631.  
  632. <:#284,12960>Notes
  633.  
  634. <:#284,12960>ELSEIF Box = 6
  635.  
  636. <:#284,12960>RevisionMarking
  637.  
  638. <:#284,12960>ELSEIF Box = 3
  639.  
  640. <:#284,12960>SpellCheck(SpellBegin)
  641.  
  642. <:#284,12960>ELSEIF Box = 4
  643.  
  644. <:#284,12960>Thesaurus()
  645.  
  646. <:#284,12960>ELSEIF Box = 5
  647.  
  648. <:#284,12960>SendKeys("<[>altl]g")
  649.  
  650. <:#284,12960>ENDIF
  651.  
  652. <:#284,12960>END FUNCTION
  653.  
  654. <:#284,12960><-!>FUNCTION HelpFun(hdlg, key)
  655.  
  656. <:#284,12960>DialogBox(".","Helper")
  657.  
  658. @Function@<:#284,12960>end function
  659.  
  660. <:#284,12960>DIALOG    Proofing
  661.  
  662. <:#840,12960>-2134900736    8    208    23    79    17    ""    "AmiDialog"    "Proofing"
  663.  
  664. 2    3    12    12    3    1342373896    "button"    "c:\amipro\icons\dlgicos\pf_spell.bmp"    0 
  665.  
  666. 15    3    12    12    4    1342373896    "button"    "c:\amipro\icons\dlgicos\pf_thesr.bmp"    0 
  667.  
  668. 28    3    12    12    5    1342373896    "button"    "c:\amipro\icons\dlgicos\pf_gramr.bmp"    0 
  669.  
  670. 41    3    12    12    7    1342373896    "button"    "c:\amipro\icons\dlgicos\pf_note.bmp"    0 
  671.  
  672. 54    3    12    12    6    1342373896    "button"    "c:\amipro\icons\dlgicos\pf_reviz.bmp"    0 
  673.  
  674. 69    7    8    8    2    1342373896    "button"    "c:\amipro\icons\dlgicos\escape.bmp"    0 
  675.  
  676. <:#840,12960>70    3    6    3    20    1342373888    "button"    ""    0 
  677.  
  678. 0    1    79    16    1002    1342177287    "static"    ""    0 
  679.  
  680. <:#280,12960>END DIALOG
  681.  
  682. DIALOG    Helper
  683.  
  684. -2143289344    8    115    49    159    63    ""    ""    ""
  685.  
  686. <:#852,12960>61    46    40    14    2    1342373888    "button"    "&Close"    0 
  687.  
  688. 5    14    23    20    1001    1342177281    "static"    "Spell Check"    0 
  689.  
  690. 127    14    28    23    1002    1342177281    "static"    "Revision Marking"    0 
  691.  
  692. 33    14    27    20    1003    1342177281    "static"    "The saurus"    0 
  693.  
  694. 63    14    31    20    1004    1342177281    "static"    "Grammar Check"    0 
  695.  
  696. 97    14    28    23    1005    1342177281    "static"    " Insert Note"    0 
  697.  
  698. 2    1    155    37    20    1342308359    "button"    "PROOFING help"    0 
  699.  
  700. 146    55    12    7    1000    1342177280    "static"    <:f240,2Times New Roman,255,255,255>"abb"    <:f>0 
  701.  
  702. END DIALOG
  703.  
  704. function init(hdlg)
  705.  
  706. metrics = getprofilestring$("wht-prof", "Metrics", "{windir}amipro2.ini")
  707.  
  708. x = strfield$(metrics, 1, ",")
  709.  
  710. y = strfield$(metrics, 2, ",")
  711.  
  712. w = strfield$(metrics, 3, ",")
  713.  
  714. h = strfield$(metrics, 4, ",")
  715.  
  716. movewindow(hdlg, x, y, w, h, 1)
  717.  
  718. @Function@end function
  719.  
  720. @Function@function curloc(hdlg)
  721.  
  722. dim coord(4)
  723.  
  724. getsize(hdlg, &coord)
  725.  
  726. <:#284,12960>x = coord(1)
  727.  
  728. <:#284,12960>y = coord(2)
  729.  
  730. <:#284,12960>cx = coord(3)
  731.  
  732. <:#284,12960>cy = coord(4)
  733.  
  734. <:#284,12960>w = cx - x
  735.  
  736. <:#284,12960>h = cy - y
  737.  
  738. <:#284,12960>writeprofilestring("wht-prof", "Metrics", strcat$(x, ",", y, ",", w, ",", h), "{windir}amipro2.ini")
  739.  
  740. <:#284,12960>end function
  741.  
  742. @Function@<:#270,12960>
  743.  
  744. >
  745.  
  746. [Embedded]
  747. 00007548
  748. >
  749. [macsum] 6
  750. begin 0 1 5 3
  751. HelpFun 628 2 1 30
  752. Proofing 671 0 -1 33
  753. Helper 1274 0 -1 44
  754. init 1758 1 7 55
  755. curloc 2006 1 9 63
  756. [macse]
  757. 14 begin
  758. 0 802
  759. 13
  760. 8 2
  761. 0 286 "wht-prof" "Metrics" "{4}amipro2.ini"
  762. 13
  763. 8 3
  764. 6 3
  765. 7 ""
  766. 18 1
  767. 11 00000129
  768. 0 41 0 "{2}!init"
  769. 0 41 20 "{2}!curloc"
  770. 0 47 112 "HelpFun"
  771. 0 26 "." "Proofing"
  772. 13
  773. 8 5
  774. 6 5
  775. 5 -1
  776. 18 0
  777. 11 00000305
  778. 0 3 "Could not open dialog box; Exiting macro."
  779. 6 1
  780. 15
  781. 9
  782. 10 00000616
  783. 6 5
  784. 5 0
  785. 18 0
  786. 11 00000359
  787. 6 1
  788. 15
  789. 9
  790. 10 00000616
  791. 6 5
  792. 5 7
  793. 18 0
  794. 11 00000417
  795. 0 32 1
  796. 24 282
  797. 10 00000616
  798. 6 5
  799. 5 6
  800. 18 0
  801. 11 00000467
  802. 24 460
  803. 10 00000616
  804. 6 5
  805. 5 3
  806. 18 0
  807. 11 00000520
  808. 2 459 1 1
  809. 10 00000616
  810. 6 5
  811. 5 4
  812. 18 0
  813. 11 00000571
  814. 2 455 0
  815. 10 00000616
  816. 6 5
  817. 5 5
  818. 18 0
  819. 11 00000616
  820. 0 36 "[8268]g"
  821. 6 1
  822. 15
  823. 9
  824. 14 HelpFun
  825. 0 26 "." "Helper"
  826. 6 2
  827. 15
  828. 9
  829. DIALOG Proofing
  830. -2134900736 8 208 23 79 17 "" "AmiDialog" "Proofing" 
  831. 2 3 12 12 3 1342373896 "button" "c:\amipro\icons\dlgicos\pf_spell.bmp" 0 
  832. 15 3 12 12 4 1342373896 "button" "c:\amipro\icons\dlgicos\pf_thesr.bmp" 0 
  833. 28 3 12 12 5 1342373896 "button" "c:\amipro\icons\dlgicos\pf_gramr.bmp" 0 
  834. 41 3 12 12 7 1342373896 "button" "c:\amipro\icons\dlgicos\pf_note.bmp" 0 
  835. 54 3 12 12 6 1342373896 "button" "c:\amipro\icons\dlgicos\pf_reviz.bmp" 0 
  836. 69 7 8 8 2 1342373896 "button" "c:\amipro\icons\dlgicos\escape.bmp" 0 
  837. 70 3 6 3 20 1342373888 "button" "" 0 
  838. 0 1 79 16 1002 1342177287 "static" "" 0 
  839. DIALOG Helper
  840. -2143289344 8 115 49 159 63 "" "" "" 
  841. 61 46 40 14 2 1342373888 "button" "&Close" 0 
  842. 5 14 23 20 1001 1342177281 "static" "Spell Check" 0 
  843. 127 14 28 23 1002 1342177281 "static" "Revision Marking" 0 
  844. 33 14 27 20 1003 1342177281 "static" "The saurus" 0 
  845. 63 14 31 20 1004 1342177281 "static" "Grammar Check" 0 
  846. 97 14 28 23 1005 1342177281 "static" " Insert Note" 0 
  847. 2 1 155 37 20 1342308359 "button" "PROOFING help" 0 
  848. 146 55 12 7 1000 1342177280 "static" "abb" 0 
  849. 14 init
  850. 0 286 "wht-prof" "Metrics" "{3}amipro2.ini"
  851. 13
  852. 8 2
  853. 0 20 "{2}" 1 ","
  854. 13
  855. 8 4
  856. 0 20 "{2}" 2 ","
  857. 13
  858. 8 5
  859. 0 20 "{2}" 3 ","
  860. 13
  861. 8 6
  862. 0 20 "{2}" 4 ","
  863. 13
  864. 8 7
  865. 0 284 "User,MoveWindow,HHHHHHA" "{0}" "{4}" "{5}" "{6}" "{7}" 1
  866. 6 1
  867. 15
  868. 9
  869. 14 curloc
  870. 5 4
  871. 21 2 [X]
  872. 0 284 "user,GetWindowRect,HHN" "{0}" &2
  873. 5 1
  874. 22 2
  875. 8 3
  876. 5 2
  877. 22 2
  878. 8 4
  879. 5 3
  880. 22 2
  881. 8 5
  882. 5 4
  883. 22 2
  884. 8 6
  885. 6 5
  886. 6 3
  887. 3 1
  888. 8 7
  889. 6 6
  890. 6 4
  891. 3 1
  892. 8 8
  893. 0 16 "{3}" "," "{4}" "," "{7}" "," "{8}"
  894. 13
  895. 0 287 "wht-prof" "Metrics" [X] "{9}amipro2.ini"
  896. 6 1
  897. 15
  898. 9
  899. 00007573
  900.